package com.easygoods.response;

import com.easygoods.enums.DeliveryType;
import com.easygoods.enums.OrderState;
import com.easygoods.enums.PayChannel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by 许崇雷 on 2019-01-26.
 */
@Data
public class OrderDetailResponse {
    private String id;
    private String merchantId;
    private String merchantName;//?
    private Integer skuCount;
    private Integer itemCount;
    private BigDecimal totalOrderAmount;//商品总额
    private BigDecimal totalMemberAmount;//商品优惠后总额
    private BigDecimal totalCouponAmount;//代金券总额
    private PayChannel payChannel;
    private String payTradeNoPre;
    private BigDecimal payAmount;//应付金额
    private String payTradeNo;
    private Date payTime;
    private DeliveryType deliveryType;
    private BigDecimal deliveryFee;
    private String expressId;
    private String expressName;//?
    private String expressOrderId;//快递单号
    private String receiveProvinceId;
    private String receiveProvinceName;
    private String receiveCityId;
    private String receiveCityName;
    private String receiveCountyId;
    private String receiveCountyName;
    private String receiveTownId;
    private String receiveTownName;
    private String receiveAddress;
    private String receivePerson;
    private String receiveMobile;
    private String leaveMsg;
    private OrderState state;
    private String stateText;//?
    private Date orderTime;
    private Object payArgs;//topay 的待支付参数

    private List<OrderDetailResponseItem> skuList;
}
